using System;
using MP3File = XTCast.Mp3.MP3File;
namespace XTCast.Radio {

	public delegate void FileChangedEventHandler(MP3File f, System.IO.WatcherChangeTypes ChangeType);

	/// <summary>The IMusicLibrary is a collection of audio tracks.</summary>	
	public interface IMusicLibrary:IMusicIterator {
		
		event FileChangedEventHandler FileChanged;

		void Start();
		void Rescan();
		float GetProgress();
		MP3File GetRandomFile();
		MP3File GetFileByID(int id);
		System.Data.DataRow GetDataRow(int fileId);
		System.Data.DataTable DataTable{ get; }
	}
}